﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SmartSpace.Silverlight.UI.Test.ViewContainer
{
    public partial class SlViewContainerTestView : SlView
    {
        public SlViewContainerTestView()
        {
            InitializeComponent();

            _ctlContainer.SwitchEffect = new SmartSpace.Silverlight.HorizontalSwitchEffect();
        }

        private void _ctlBtnView1_Click(object sender, RoutedEventArgs e)
        {
            _ctlContainer.SwitchView(new View1());
        }

        private void _ctlBtnView2_Click(object sender, RoutedEventArgs e)
        {
            _ctlContainer.SwitchView(new View2());
        }
    }
}
